#
# Be sure to run `pod lib lint YKCaptcha.pods' to ensure this is a
# valid s before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Pods see https://guides.cocoapods.org/syntax/pods.html
#

Pod::Spec.new do |s|
    s.name             = 'YKCaptcha'
    s.version          = '1.0.0'
    s.summary          = 'A CaptchaTool for YKCompany.'
    
    # This description is used to generate tags and improve search results.
    #   * Think: What does it do? Why did you write it? What is the focus?
    #   * Try to keep it short, snappy and to the point.
    #   * Write the description between the DESC delimiters below.
    #   * Finally, don't worry about the indent, CocoaPods strips it!
    
    s.description      = <<-DESC
    TODO: Add long description of the pod here.
    DESC
    
    s.homepage         = 'https://gitee.com/taessica/ykcaptcha.git'
    # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
    s.license          = { :type => 'MIT', :file => 'LICENSE' }
    s.author           = { 'zhangcong' => 'zhangcong@dobest.com' }
    s.source           = { :git => 'https://github.com/zhangcong/YKCaptcha.git', :tag => s.version.to_s }
    # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
    
    s.platform     = :ios, "9.0"
    
#    s.source_files = 'YKCaptcha/Classes/**/*'
    s.requires_arc = true
    
    s.source       = {
    :git => "https://gitee.com/taessica/ykcaptcha.git",
    :tag => s.version
    }
    
    s.resource_bundles = {
        'YKCaptcha' => ['YKCaptcha/Assets/*.png']
    }
    
    # s.public_header_files = 'Pod/Classes/**/*.h'
    # s.frameworks = 'UIKit', 'MapKit'
    # s.dependency 'AFNetworking', '~> 2.3'
    
    s.vendored_frameworks = 'YKCaptcha.framework'
#    s.vendored_frameworks = 'SimpleFramework.framework'
    
#    s.xcconfig = {'BITCODE_GENERATION_MODE' => 'bitcode'}
#    s.xcconfig = {'BITCODE_GENERATION_MODE' => 'bitcode'}



    s.dependency 'AFNetworking'
    s.dependency 'JSONModel', '~> 1.8.0'
    
#    # Category
#    s.subspec 'Category' do |category|
#        category.source_files = 'YKCaptcha/Classes/Category/*'
#    end
#
#    # config
#    s.subspec 'config' do |config|
#        config.source_files = 'YKCaptcha/Classes/config/*'
#    end
#
#    # model
#    s.subspec 'model' do |model|
#        model.source_files = 'YKCaptcha/Classes/model/*'
#        model.dependency 'JSONModel', '~> 1.8.0'
#    end
#
#    # net
#     s.subspec 'HttpTools' do |net|
#        net.source_files = 'YKCaptcha/Classes/HttpTools/*'
#        net.dependency 'AFNetworking', '~> 4.0.1'
#        net.dependency 'YKCaptcha/model'
#    end
#
#    # view
#    s.subspec 'view' do |v|
#        v.source_files = 'YKCaptcha/Classes/view/*'
#        v.dependency 'YKCaptcha/HttpTools'
#        v.dependency 'YKCaptcha/Category'
#        v.dependency 'YKCaptcha/config'
#    end
    
end
